﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SM_RoleEdit.aspx.cs" Inherits="ZLDC.Estate.TM.SM_RoleEdit"  Theme="NewSkin"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>角色修改</title>
    <link href="../../App_Themes/SkinFile/Main.css" type="text/css" rel="stylesheet" />

    <script>
    function checkData()
    {
        if(document.getElementById("txtRoleName").value=="")
        {
            alert("角色名称不能为空!");
            return false;
        }
        if(document.getElementById("txtRoleCode").value=="")
        {
            alert("角色编码不能为空!");
            return false;
        }
        return true;
    }
    </script>

    <style>
        .mainField
        {
            margin: 10px 6px 5px 10px;
            border: 0px solid #eee;
            clear: both;
            text-align: left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div id="hbNav">
        <div id="navLeft">
            <img src="../../images/zlTitle.gif" width="13" align="absmiddle" />&nbsp;&nbsp;当前功能<span
                class="hbdot">&raquo;</span>角色修改</div>
        <div id="navRght">
        </div>
    </div>
    <fieldset class="mainField">
        <div id="dvTable">
            <table border="0" cellpadding="1" cellspacing="1" width="100%">
                <tr>
                    <td nowrap="nowrap" style="background-color: #efefef" width="20%" align="right">
                        角色名称<font color="red">*</font>:
                    </td>
                    <td style="width: 80%">
                        <input type="text" id="txtRoleName" class="textdocdown" style="width: 70%;" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" style="background-color: #efefef" width="20%" align="right">
                        角色编码<font color="red">*</font>:
                    </td>
                    <td style="width: 80%">
                        <input type="text" id="txtRoleCode" class="textdocdown" style="width: 70%;" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td nowrap="nowrap" style="background-color: #efefef" width="20%" align="right">
                        描述 :
                    </td>
                    <td style="width: 80%">
                        <textarea type="text" id="txtRoleDsc" style="width: 70%; height: 65px;" runat="server"></textarea>
                    </td>
                </tr>
            </table>
        </div>
    </fieldset>
    <div class="dvBtn">
        <asp:Button ID="btnSave" runat="server" Text="保存" CssClass="button_bak" OnClientClick="return checkData();"
            OnClick="btnSave_Click" />
        &nbsp;<asp:Button ID="btnReturn" runat="server" Text="返回" CssClass="button_bak" OnClick="btnReturn_Click" />
    </div>
    </form>
</body>
</html>

